<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    .first{
        color:red;
    }
    .second{
        color:red;
    }
    .third{
        color:red;
    }
    .fourth{
        color:red;
    }
  </style>
</head>
<body>
<!--作业需求：点击列表中的哪一项，那么该项的文字变成红色-->
<div id="app">
  <ul>
    <li  v-for="(m,index) in movies "  >{{m}}</li>
  </ul>
</div>

<script src="../js/vue.js"></script>
<script>
  const app=new Vue({
    el: '#app',
    data: {
      movies: ['山河令','火影忍者','死亡笔记','海贼王'],

    },

  })

</script>
</body>
</html>